﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PromoServer.Library.Data;
using PromoServer.Library.Entities;

namespace PromoServer.Library.BLL
{
    public class PSDevice
    {
        #region Properties

        private PSData _psData;

        #endregion

        public PSDevice()
        {
            _psData = new PSData();
        }

        public List<Device> GetDeviceList()
        {
            List<Device> lstDevices = new List<Device>(_psData.GetDevices());
            return lstDevices;
        }

        public string GetDisplayName(string hostName)
        {
            string displayName = _psData.GetDisplayNameByHostName(hostName);
            return displayName;
        }
    }
}
